#ifndef WYZKR688RFSWINSTANCE_GLOBAL_H
#define WYZKR688RFSWINSTANCE_GLOBAL_H

#include <QtCore/qglobal.h>
#include <QWidget>

#if defined(WYZKR688RFSWINSTANCE_LIBRARY)
#  define WYZKR688RFSWINSTANCESHARED_EXPORT Q_DECL_EXPORT
#else
#  define WYZKR688RFSWINSTANCESHARED_EXPORT Q_DECL_IMPORT
#endif

#define LOCALCONTOLLER 1
#define REMOTEHMI 2
/*****************************************************************************************************************/
WYZKR688RFSWINSTANCESHARED_EXPORT short    PLU_FswTecPluginInstanceCreate(short Local_Remote);
WYZKR688RFSWINSTANCESHARED_EXPORT short    PLU_FswTecPluginInstanceDelete();
WYZKR688RFSWINSTANCESHARED_EXPORT bool     PLU_FswTecPluginInstanceExists();
WYZKR688RFSWINSTANCESHARED_EXPORT QWidget* PLU_FswTecPluginInstanceUiRegesiter();
/*****************************************************************************************************************/
WYZKR688RFSWINSTANCESHARED_EXPORT void TASK_uifast_UiDataUpdate();                     //ui状态键界面更新
WYZKR688RFSWINSTANCESHARED_EXPORT void TASK_uifast_ForceScopeUpdate();                 //力曲线刷新
WYZKR688RFSWINSTANCESHARED_EXPORT void TASK_uifast_RobotScopeUpdate();                 //机器人关节数据刷新

WYZKR688RFSWINSTANCESHARED_EXPORT void TASK_maininit_toRobotTcpServerAdd();            //添加向机器人通信的服务器
WYZKR688RFSWINSTANCESHARED_EXPORT void TASK_maininit_toRobotTcpServerListen();         //向机器人通信的服务器监听

WYZKR688RFSWINSTANCESHARED_EXPORT void TASK_mainloop_toRobotReceiveLoopRun();                 //机器人循环任务
WYZKR688RFSWINSTANCESHARED_EXPORT void TASK_mainloop_toRobotSendLoopRun();                 //机器人循环任务
WYZKR688RFSWINSTANCESHARED_EXPORT void TASK_mainloop_RfswProcessDeal();
WYZKR688RFSWINSTANCESHARED_EXPORT void TASK_mainloop_ProcessDataSave();


WYZKR688RFSWINSTANCESHARED_EXPORT void TASK_RemoteDataRecv(QByteArray Data);
WYZKR688RFSWINSTANCESHARED_EXPORT void TASK_RemoteDataSend(QByteArray& Data);
/*****************************************************************************************************************/

#endif // WYZKR688RFSWINSTANCE_GLOBAL_H
